home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global i
- cursor(4)
- set the volume of sound 2 to 180
- set the timeoutScript to "mTimeOut"
- set the visible of sprite 48 to 0
- set i to 1
- end
-
- on mIdle
- puppetSprite(48, 1)
- if the timer >= 120 then
- mchangetext()
- startTimer()
- updateStage()
- else
- nothing()
- end if
- end
-
- on mchangetext
- if the castNum of sprite 48 = 65 then
- set the castNum of sprite 48 to 66
- else
- if the castNum of sprite 48 = 66 then
- set the castNum of sprite 48 to 67
- else
- set the castNum of sprite 48 to 65
- set the visible of sprite 48 to 1
- end if
- end if
- end
-
- on mtimeout
- set the timeoutScript to EMPTY
- set the mouseDownScript to EMPTY
- puppetSprite(48, 0)
- cursor(4)
- sound fadeOut 1, 30
- go("Fade")
- end
-
- on ossan
- global i
- set the visible of sprite 48 to 0
- set the castNum of sprite 48 to 65
- set i to 1 + i
- if i > 6 then
- ossanangry()
- else
- set n to random(5)
- if n = 1 then
- cursor(200)
- go("panic1")
- else
- if n = 2 then
- cursor(200)
- go("panic2")
- else
- if n = 3 then
- cursor(200)
- go("panic3")
- else
- if n = 4 then
- cursor(200)
- go("panic4")
- else
- if n = 5 then
- cursor(200)
- go("panic5")
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on ossanangry
- cursor(200)
- set the timeoutLapsed to 0
- go("angry")
- end
-